#include <iostream>
#include "modules/proto/chassis.pb.h"  // 包含生成的protobuf头文件

int main() {
    // 创建一个Chassis对象实例
    starship::Chassis chassis;
    
    // 设置一些字段
    chassis.set_driving_mode(starship::Chassis::COMPLETE_AUTO_DRIVE);
    chassis.set_error_code(starship::Chassis::NO_ERROR);
    
    // 输出信息
    std::cout << "Chassis driving mode: " << chassis.driving_mode() << std::endl;
    std::cout << "Chassis error code: " << chassis.error_code() << std::endl;
    
    std::cout << "示例程序运行成功！" << std::endl;
    return 0;
}